//
//  AMPRegisterViewController.swift
//  LivingHelper
//
//  Created by Ampaw on 2017/9/13.
//  Copyright © 2017年 Ampaw. All rights reserved.
//

import UIKit

class AMPRegisterViewController: AMPBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.title = "注册"
        addConfig()
        // 准备UI
        setUpUI()
    }

    // MARK: - 准备UI
    private func setUpUI() {
        self.view.addSubview(self.registerView)
        
        unowned let WS = self
        self.registerView.snp.makeConstraints { (make) -> Void in
            make.edges.equalTo(WS.view)
        }
    }
    private func addConfig() {
        self.edgesForExtendedLayout = UIRectEdge()
        self.extendedLayoutIncludesOpaqueBars = false
        self.automaticallyAdjustsScrollViewInsets = true
    }
    
    // MARK: - 懒加载
    lazy var registerView: AMPRegisterView = {
        let loginView = AMPRegisterView()
        
        return loginView
    }()

}
